package com.cgsrp.cgsrp_community.service.impl;

import com.cgsrp.utils.MinioUtils;
import com.cgsrp.utils.Result;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cgsrp.cgsrp_community.domain.BlogComment;
import com.cgsrp.cgsrp_community.dao.BlogCommentMapper;
import com.cgsrp.cgsrp_community.service.BlogCommentService;
import org.springframework.web.multipart.MultipartFile;

@Service
public class BlogCommentServiceImpl implements BlogCommentService{

    @Resource
    private BlogCommentMapper blogCommentMapper;


    @Override
    public int deleteByPrimaryKey(Integer id) {
        return blogCommentMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BlogComment record) {
        return blogCommentMapper.insert(record);
    }

    @Override
    public int insertSelective(BlogComment record) {
        return blogCommentMapper.insertSelective(record);
    }

    @Override
    public BlogComment selectByPrimaryKey(Integer id) {
        return blogCommentMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BlogComment record) {
        return blogCommentMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BlogComment record) {
        return blogCommentMapper.updateByPrimaryKey(record);
    }



}
